import riskClient from "./riskClient";

export const findCfgSwitches = async (params) => {
  return await riskClient.postAsync({
    url: 'api/unitConfig/findCfgSwitches',
    params,
  })
}

export const editCfgSwitch = async (params) => {
  return await riskClient.postAsync({
    url: 'api/unitConfig/editCfgSwitch',
    params,
  })
}